package net.jlnx.Uebung1_2;

import net.jlnx.Uebung1_2.util.AutoHelper;

public class AutoStarter {

	public static void main(String[] args) {
		Auto a1 = new Auto("Ford", 125000, 7999.99, "silber metallic", false,
				"Diesel", 101.0);
		Auto a2 = new Auto("Mercedes", 63000, 22999.99, "blue silver", true,
				"Super", 137.0);
		Auto a3 = new Auto("Daihatsu", 12000, 3099.99, "green dynamite", true,
				"Benzin", 75.0);

		Auto[] autos = { a1, a2, a3 };

		AutoHelper.bubbleSort(autos);

		for (Auto a : autos) {
			System.out.println(a);
		}
	}

}